package exception;


import java.io.FileNotFoundException;

/**
 * 异常的抛出
 */
public class ThrowDemo {
    public static void main(String[] args) {
       /* Student zs=new Student();
        try {
            zs.setAge(20);
        } catch (FileNotFoundException e) {
            System.out.println("发生异常，并处理了");
        }
        System.out.println("此人的年龄w为："+zs.getAge()+"岁");

        */

    }
}
